This function specifies the type of compression for the specified HDF GR raster image.
Result = HDF_GR_SETCOMPRESS(ri_id, comp_type, comp_prm)
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Raster image identifier returned by HDF_GR_CREATE or HDF_GR_SELECT.
Compression method for the image data. Valid values are:
Compression parameters. If Skipping Huffman is used, set comp_parm to the skipping size (the size in bytes of the data elements). If GZIP compression is used, set comp_parm to an integer ranging from 1 (fastest) to 9 (most compressed).
None
5.2 |
Introduced |